public class Demo {
	    public static void main(String[] args) {
		            System.out.println(jia(1, 2));
			            System.out.println(jian(1, 2));
				            System.out.println(cheng(1, 2));
					            System.out.println(chu(1, 2));
						        }
	       
	        private static float jia(float x,float y) {
			        return x + y;
				    }
		   
		    private static float jian(float x,float y) {
			            return x - y;
				        }
		       
		        private static float cheng(float x,float y) {
				        return x * y;
					    }
			    
			    private static float chu(float x,float y) {
				            return x / y;
			    }
}
